package di.service;

import di.hello.Hello;

public class GreetingServiceImpl implements GreetingService {
	private Hello hello;
	public GreetingServiceImpl(Hello hello) {
		this.hello = hello;
	}
	@Override
	public void printKorGreeting(String name) {
		String greeting = hello.sayHello(name);
		System.out.println(greeting);
	}
}
